//引入医院详情的类型
import type {DepartmentArr, HosPitalDetail, UserInfo} from "@/api/hospital/type.ts";

//定义仓库内部存储数据state的ts类型
export interface DetailState {
    hospitalInfo: HosPitalDetail,
    departmentArr: DepartmentArr,
};

// 用户仓库相关state数据类型
export interface UserState {
    visible:boolean, // 用户登录组件的dialog显示与隐藏
    code:string, // 用户验证码
    userInfo:UserInfo, //用户信息
}

